<?php

class Boletin_Model extends CI_Model {
	
	public function __construct()
	{
		parent::__construct();
		$this->load->database();
	}
	
	public function get()
	{
		$query = $this->db->get('boletin');
		return $query->row();
	}
	
	public function update($input)
	{
		$query = $this->db->update('boletin', $input, array('id'=>1));
		return $query; 
	}
}

/* End of file boletin.php */
/* Location: ./application/models/boletin.php */